package com.neusoft.springdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 
 * @author chens
 *
 */
@Controller
public class HelloController {

	@RequestMapping("/hello.do")
	public String sayHello() {
		System.out.println("=====================");
		
		//返回一个名称叫hello的视图
		return "hello";
	}
	
}
